package com.kgc.sportscircle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：实体类
* @author 杨海文
* @date 2019/07/22
*/
public class Activeorder implements Serializable {

   /**主键*/
    private Integer id;
   /**用户主键*/
    private Integer userId;
   /**用户昵称*/
    private String loginName;
   /**创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
   /**总消费*/
    private Float cost;    
   /**订单号*/
    private String serialNumber;
   /**报名人id*/
    private Integer applyId;
   /**备用1*/
    private String beiyong1;
   /**备用2*/
    private Integer beiyong2;

    public Activeorder(){}
    
    public Activeorder(Integer id,Integer userId,String loginName,Date createTime,Float cost,String serialNumber,Integer applyId,String beiyong1,Integer beiyong2){
        this.id = id;
        this.userId = userId;
        this.loginName = loginName;
        this.createTime = createTime;
        this.cost = cost;
        this.serialNumber = serialNumber;
        this.applyId = applyId;
        this.beiyong1 = beiyong1;
        this.beiyong2 = beiyong2;
    }

   /**获取主键属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置主键属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取用户主键属性的值*/
    public Integer getUserId() {
        return this.userId;
    }
   /**设置用户主键属性的值*/
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
   /**获取用户昵称属性的值*/
    public String getLoginName() {
        return this.loginName;
    }
   /**设置用户昵称属性的值*/
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }
   /**获取创建时间属性的值*/
    public Date getCreateTime() {
        return this.createTime;
    }
   /**设置创建时间属性的值*/
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
   /**获取总消费属性的值*/
    public Float getCost() {
        return this.cost;
    }
   /**设置总消费属性的值*/
    public void setCost(Float cost) {
        this.cost = cost;
    }
   /**获取订单号属性的值*/
    public String getSerialNumber() {
        return this.serialNumber;
    }
   /**设置订单号属性的值*/
    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }
   /**获取报名人id属性的值*/
    public Integer getApplyId() {
        return this.applyId;
    }
   /**设置报名人id属性的值*/
    public void setApplyId(Integer applyId) {
        this.applyId = applyId;
    }
   /**获取备用1属性的值*/
    public String getBeiyong1() {
        return this.beiyong1;
    }
   /**设置备用1属性的值*/
    public void setBeiyong1(String beiyong1) {
        this.beiyong1 = beiyong1;
    }
   /**获取备用2属性的值*/
    public Integer getBeiyong2() {
        return this.beiyong2;
    }
   /**设置备用2属性的值*/
    public void setBeiyong2(Integer beiyong2) {
        this.beiyong2 = beiyong2;
    }
}
